package com.gcu.drivingschool.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 修改分数记录实体
 * @author zzr
 * @create 2024-06-24-13:57
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "修改分数记录实体")
public class UpdateScoreDto {
    /**
     * 主键
     */
    @Schema(description = "主键")
    @NotNull
    private Integer id;

    /**
     * 考试科目
     */
    @Schema(description = "考试科目")
    private String subject;

    /**
     * 考试分数
     */
    @Schema(description = "考试分数")
    private BigDecimal score;
}
